﻿using HCQ2_Model.VR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0427
{
    /// <summary>
    ///  更新用户在线状态
    /// </summary>
    public class InputModifyUserStatus: BaseDDAPI
    {
        /// <summary>
        ///  状态
        ///  离线=0；
        ///  在线=1；
        /// </summary>
        [RegularExpression("^([0,1])$", ErrorMessage = "请正确输入状态：0=离线；1=在线")]//大于0正则表达式
        public int type { get; set; }
    }
}